package org.garbagecan.xstreamstudy.userconf;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class UserConfs {

	private List<ViewPreference> viewPreferences;

	private List<FilterSetting> filterSettings;
	
	public UserConfs() {
		viewPreferences = new ArrayList<ViewPreference>();
		filterSettings = new ArrayList<FilterSetting>();
	}
	
	public List<ViewPreference> getViewPreferences() {
		return viewPreferences;
	}

	public void setViewPreferences(List<ViewPreference> viewPreferences) {
		this.viewPreferences = viewPreferences;
	}

	public List<FilterSetting> getFilterSettings() {
		return filterSettings;
	}

	public void setFilterSettings(List<FilterSetting> filterSettings) {
		this.filterSettings = filterSettings;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
